﻿using TestEntryPoint;
using Testservice.contract;

namespace Testclient
{
    public class Client : ITestEntryPoint
    {
        private readonly IService s;

        public Client(IService s) {
            this.s = s;
        }

        public int DoIt(int a, int b) {
            return a + b + this.s.Add(a, b);
        }

        public int DoTheMath(int a, int b) {
            return DoIt(a, b);
        }
    }
}